Tests

Adds basic tests for all storage types + htpasswd authentication