final tests working