Removed test code from source