Using Software Architecture for code testing