added tests for gallery models and some forms