gets final tests working