Created tests for prompts controller, refactored prompts controller
Merge pull request #31 from apesic/prompt-testing

Created tests for prompts controller, refactored prompts controller