Adding tests and turning off deployment for release builds.