Test related code moved to under test directories

No need on production environment.