Added factory_boy library to tests

Factories is better solution than functions (like ```create_asset``` or ```create_category```). For example ```create_asset``` was replaced by ```AssetFactory```. Each factory takes the same argument as equivalent model.