rename directory for bower
add unit test
fix git ignore typo