Added testing functionality and running score