test that reproduces problem when handling bower components
applied fix to handle bower-like broken packages and passing resolve test